
package com.base.po.voip;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 变更记录
 * 
 * @author Administrator
 *
 */
public class ChangeRecord {
    private Integer id;// id
    
    private String parentid;// 代理商id

    private String shopid;// 商店id

    private String userid;// 用户id

    private Date createtime;// 创建时间

    private BigDecimal beforeb;// 话费变更前余额

    private BigDecimal changeb;// 话费变更金额

    private Integer typeb;// 话费变更类型(0减 1加)

    private Date beforetimeb;// 话费变更前有效期

    private Date changetimeb;// 话费变更后有效期

    private String fromb;// 来源

    private BigDecimal befores;// 购物金变更前余额

    private BigDecimal changes;// 购物金变更金额

    private Integer types;// 购物金变更类型(0减 1加)

    private Date beforetimes;// 购物金变更前有效期

    private Date changetimes;// 购物金变更后有效期

    private String froms;// 来源
    
    private String remark;
    
    private String pluschangeb;// 话费变更余额(String)
    
    private String pluschanges;// 购物金变更金额(String)
    
    private Subscribers subscribers;
    
    public Subscribers getSubscribers() {
		return subscribers;
	}

	public void setSubscribers(Subscribers subscribers) {
		this.subscribers = subscribers;
	}

	public String getPluschangeb() {
		return pluschangeb;
	}

	public void setPluschangeb(String pluschangeb) {
		this.pluschangeb = pluschangeb;
	}

	public String getPluschanges() {
		return pluschanges;
	}

	public void setPluschanges(String pluschanges) {
		this.pluschanges = pluschanges;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    
    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid == null ? null : parentid.trim();
    }

    public String getShopid() {
        return shopid;
    }

    public void setShopid(String shopid) {
        this.shopid = shopid == null ? null : shopid.trim();
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public BigDecimal getBeforeb() {
        return beforeb;
    }

    public void setBeforeb(BigDecimal beforeb) {
        this.beforeb = beforeb;
    }

    public BigDecimal getChangeb() {
        return changeb;
    }

    public void setChangeb(BigDecimal changeb) {
        this.changeb = changeb;
    }

    public Integer getTypeb() {
        return typeb;
    }

    public void setTypeb(Integer typeb) {
        this.typeb = typeb;
    }

    public Date getBeforetimeb() {
        return beforetimeb;
    }

    public void setBeforetimeb(Date beforetimeb) {
        this.beforetimeb = beforetimeb;
    }

    public Date getChangetimeb() {
        return changetimeb;
    }

    public void setChangetimeb(Date changetimeb) {
        this.changetimeb = changetimeb;
    }

    public String getFromb() {
        return fromb;
    }

    public void setFromb(String fromb) {
        this.fromb = fromb == null ? null : fromb.trim();
    }

    public BigDecimal getBefores() {
        return befores;
    }

    public void setBefores(BigDecimal befores) {
        this.befores = befores;
    }

    public BigDecimal getChanges() {
        return changes;
    }

    public void setChanges(BigDecimal changes) {
        this.changes = changes;
    }

    public Integer getTypes() {
        return types;
    }

    public void setTypes(Integer types) {
        this.types = types;
    }

    public Date getBeforetimes() {
        return beforetimes;
    }

    public void setBeforetimes(Date beforetimes) {
        this.beforetimes = beforetimes;
    }

    public Date getChangetimes() {
        return changetimes;
    }

    public void setChangetimes(Date changetimes) {
        this.changetimes = changetimes;
    }

    public String getFroms() {
        return froms;
    }

    public void setFroms(String froms) {
        this.froms = froms == null ? null : froms.trim();
    }
    
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
    
	public ChangeRecord() {
		super();
	}

	public ChangeRecord(String parentid, String shopid, String userid, Date createtime, BigDecimal beforeb,
			BigDecimal changeb, Integer typeb, Date beforetimeb, Date changetimeb, String fromb, BigDecimal befores,
			BigDecimal changes, Integer types, Date beforetimes, Date changetimes, String froms, String remark) {
		super();
		this.parentid = parentid;
		this.shopid = shopid;
		this.userid = userid;
		this.createtime = createtime;
		this.beforeb = beforeb;
		this.changeb = changeb;
		this.typeb = typeb;
		this.beforetimeb = beforetimeb;
		this.changetimeb = changetimeb;
		this.fromb = fromb;
		this.befores = befores;
		this.changes = changes;
		this.types = types;
		this.beforetimes = beforetimes;
		this.changetimes = changetimes;
		this.froms = froms;
		this.remark = remark;
	}
}